/**
 * This file is part of 1genia trampoline
 * Copyright (C) 2007 1genia (contact@1genia.com)
 *
 * This library is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; version 3 of the License. 
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details. 
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; see the file COPYING.TXT.  If not,
 * write to the Free Software Foundation, Inc., 51 Franklin Street,
 * Fifth Floor, Boston, MA 02110-1301, USA. 
 **/
package com.genia.toolbox.web.gwt.form.server.spring.form.impl;

import com.genia.toolbox.web.gwt.form.server.spring.form.IdentifierForm;

/**
 * implementation of {@link IdentifierForm}.
 */
public class IdentifierFormImpl
    implements IdentifierForm
{

  /**
   * the identifier of the data of the form to edit.
   */
  private String identifier;

  /**
   * the identifier of the form to display.
   */
  private String formIdentifier;

  /**
   * the url to go back after the edition, <code>null</code> means to do a
   * back with the browser.
   */
  private String backUrl;



  /**
   * getter for the identifier property.
   * 
   * @return the identifier
   */
  public String getIdentifier()
  {
    return identifier;
  }



  /**
   * setter for the identifier property.
   * 
   * @param identifier
   *          the identifier to set
   */
  public void setIdentifier(String identifier)
  {
    this.identifier = identifier;
  }



  /**
   * getter for the formIdentifier property.
   * 
   * @return the formIdentifier
   */
  public String getFormIdentifier()
  {
    return formIdentifier;
  }



  /**
   * setter for the formIdentifier property.
   * 
   * @param formIdentifier
   *          the formIdentifier to set
   */
  public void setFormIdentifier(String formIdentifier)
  {
    this.formIdentifier = formIdentifier;
  }



  /**
   * getter for the backUrl property.
   * 
   * @return the backUrl
   */
  public String getBackUrl()
  {
    return backUrl;
  }



  /**
   * setter for the backUrl property.
   * 
   * @param backUrl
   *          the backUrl to set
   */
  public void setBackUrl(String backUrl)
  {
    this.backUrl = backUrl;
  }

}
